import type { BrowserRouterProps } from 'react-router-dom';

export interface IRouter {
  path: string;
  redirect?: string;
  Component?: React.FC<BrowserRouterProps> | (() => React.ReactNode);
  meta: {
    title?: string;
    /** 是否隐藏路由 */
    hidden?: boolean;
  };
  children?: IRouter[];
}
